import request from '@/utils/request'

export function hasByKey(params) {
  return request({
    url: '/Config/hasByKey',
    method: 'get',
    params
  })
}
export function AddKey(data) {
    return request({
      url: '/Config/add',
      method: 'post',
      data
    })
}
export function UpdateKey(data) {
    return request({
      url: '/Config/update',
      method: 'post',
      data
    })
}
export function DeleteKey(data) {
    return request({
      url: '/Config/delete',
      method: 'post',
      data
    })
}
